Talking Bananas
نویسندگان
چکیده
Session types provide static guarantees that concurrent programs respect communication protocols. We give a novel account of recursive session types in the context of GV, a small concurrent extension of the linear λ-calculus. We extend GV with recursive types and catamorphisms, following the initial algebra semantics of recursion, and show that doing so naturally gives rise to recursive session types. We show that this principled approach to recursion resolves long-standing problems in the treatment of duality for recursive session types. We characterize the expressiveness of GV concurrency by giving a CPS translation to (non-concurrent) λ-calculus and proving that reduction in GV is simulated by full reduction in λ-calculus. This shows that GV remains terminating in the presence of positive recursive types, and that such arguments extend to other extensions of GV, such as polymorphism or non-linear types, by appeal to normalization results for sequential λ-calculi. We also show that GV remains deadlock free and deterministic in the presence of recursive types. Finally, we extend CP, a session-typed process calculus based on linear logic, with recursive types, and show that doing so preserves the connection between reduction in GV and cut elimination in CP.
منابع مشابه
Shelf Life Extension of Banana (musa Sapientum) by Gamma Radiation
The effect of gamma radiation on the shelf life extension of Bananas was studied. Bananas were treated with three gamma radiation doses of 0.30k Gy; 0.40k Gy and 0.50k Gy for 5 mins respectively and stored in a dry place under room conditions (25±2°C/ 80± 5% RH). The physical conditions of the radiation treated and control bananas were observed at every 2 days interval for their organoleptic pr...
متن کاملUrban Consumer Willingness to Pay for Introduced Dessert Bananas in Uganda
Dessert bananas (Musa spp.) form one of the world’s most important fruits, yet one of the least traded commodities in Uganda. A range of exotic and hybrid dessert bananas that included KABANA 3H and KABANA 4H were introduced in Uganda in response to Fusarium wilt disease that was wiping away Gros Michel. However, the effect of dessert attributes and consumer characteristics on consumers’ willin...
متن کاملIron absorption in raw and cooked bananas: a field study using stable isotopes in women
BACKGROUND Banana is a staple food in many regions with high iron deficiency and may be a potential vehicle for iron fortification. However, iron absorption from bananas is not known. OBJECTIVE The objective of this study was to evaluate total iron absorption from raw and cooked bananas. DESIGN Thirty women (34.9±6.6 years) from rural Mexico were randomly assigned to one of two groups each ...
متن کاملOvernight soaking or boiling of "Matooke" to reduce potassium content for patients with chronic kidney disease: does it really work?
BACKGROUND There is an increase in number of patients with chronic kidney disease (CKD) in Uganda's health facilities looking for different options of preparing matooke (bananas), their staple food. OBJECTIVE To establish and evaluate an effective method of removing potassium from bananas (matooke). METHODS Bananas were sampled from 5 markets in Kampala, Uganda. Deionized water was used to ...
متن کاملBANANAS: A Connectionless Framework for Explicit, Multipath Routing in the Internet∗
This paper presents BANANAS, a connectionless framework for enabling explicit, multipath routing in the Internet. BANANAS uses the idea of a globally known path identifier, known as PathID to achieve source 1 specified, explicit, multipath routing in a partially upgraded network. We show that BANANAS allows introduction of sophisticated explicit and multipath routing capabilities in the context...
متن کاملEffect of Bananas Puree on Survival of Lactobacillus casei in Coktel Apple and Banana Juice During Storage
The probiotic juice is one of the newest innovation opportunities in various kinds of healthy drinkꞌs business. The aim of this study was to investigate effect of banana pureeꞌs on survival of Lactobacillus casei and physicochemical and sensory properties of cocktail juice containing apples and bananas juice during storage. The amounts of banana puree were added in 3 levels (7% and 15%) to appl...
متن کامل